<?php
namespace models;

use Doctrine\Common\Collections\ArrayCollection;

/**
 * @Entity
 */
class Perusahaan extends Customer{

	/**
	 * @Column(type="string", nullable=true)
	 */
	protected $penanggung_jawab;

	/**
	 * @Column(type="string", nullable=true)
	 */
	protected $jabatan;

	/**
	 * @Column(type="string", nullable=true)
	 */
	protected $jenis_usaha;

	/**
	 * @Column(type="string", nullable=true)
	 */
	protected $website;

    public function __construct($username=null,$password=null,$email=null, $nama=null){
		parent::__construct($username, $password, $email, $nama);
	}

	public function set_penanggung_jawab($penanggung_jawab){
		$this->penanggung_jawab = $penanggung_jawab;
		$this->updated = new \DateTime("now");
	}

	public function get_penanggung_jawab(){
		return $this->penanggung_jawab;
	}

	public function set_jabatan($jabatan){
		$this->jabatan = $jabatan;
		$this->updated = new \DateTime("now");
	}

	public function get_jabatan(){
		return $this->jabatan;
	}

	public function set_jenis_usaha($jenis_usaha){
		$this->jenis_usaha = $jenis_usaha;
		$this->updated = new \DateTime("now");
	}

	public function get_jenis_usaha(){
		return $this->jenis_usaha;
	}

	public function set_website($website){
		$this->website = $website;
		$this->updated = new \DateTime("now");
	}

	public function get_website(){
		return $this->website;
	}
}
